package com.qili.service.zx.impl;

import com.qili.base.mapper.BaseMapper;
import com.qili.base.service.impl.BaseServiceImpl;
import com.qili.entity.zx.ZxProjectPay;
import com.qili.entity.zx.dto.ZxProjectPayDTO;
import com.qili.mapper.zx.ZxProjectPayMapper;
import com.qili.service.zx.ZxProjectPayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author Zhangshuo
 * @date 2020/11/23 17:42
 **/
@Service
public class ZxProjectPayImpl extends BaseServiceImpl<ZxProjectPay,String> implements ZxProjectPayService {
    @Autowired
    ZxProjectPayMapper zxProjectPayMapper;
    @Override
    public BaseMapper<ZxProjectPay, String> getMappser() {
        return zxProjectPayMapper;
    }
    /**
    * @Author:zhaoyongke
    * @Description: 查询付款方式
    * @param dto
    * @Date:14:04 2020/11/26
    */
   public List<ZxProjectPayDTO> selectSupervisorProjectPay(ZxProjectPayDTO  dto){
        return zxProjectPayMapper.selectSupervisorProjectPay(dto);
    }
    /**
     * @Author:Zhangshuo
     * @Description:
     * @param ids
     * @Date:20:52 2020-12-11
     */
    @Override
    public int deleteByProjectIds(String[] ids) {
        return zxProjectPayMapper.deleteByProjectIds(ids);
    }
}
